package com.example.springcloud.dao;

import com.example.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2024-01-28
 * Time: 15:07
 */
@Mapper
public interface PaymentMapper {

    int create(@Param("payment") Payment payment);

    Payment getPaymentById(@Param("id") Long id);
}
